@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './componentFilter.scss';
@import './itemDetail.scss';
@import './baiduMap';
@import './biz.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  ::selection{
    text-shadow: none;
    color: #fff;
    background-color: #66b1ff;
    // background-color: rgb(48, 65, 86);
  }

  * {
    font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  }
}

// label {
//   font-weight: 700;
// }

html {
  height: 100%;
  box-sizing: border-box;
}

#app{
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  outline: none;
  text-decoration: none;
}

div:focus{
  outline: none;
 }

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

//main-container全局样式
.app-main{
  min-height: 100%
}

.app-container {
  padding: 20px;
}


.link-type,
.link-type:focus {
  color: rgb(64, 158, 255);
  cursor: pointer;
  &.link-edit{
    border-bottom: 1px dashed rgb(64, 158, 255) !important;
  }
  &:hover {
    border-bottom: 1px solid rgb(64, 158, 255);
    // text-decoration: underline;
  }
  &.err{
    color: #F56C6C;
    border-bottom: 1px dashed #F56C6C !important;
    &:hover {
      border-bottom: 1px solid #F56C6C;
      // text-decoration: underline;
    }
  }
}

.textell{
  @include textEll();
}

.img-list{
  @include clearfix();
  .img-item{
    display: inline-block;
    width: 140px;
    height: 140px;
    border: 1px dashed #ddd;
    border-radius: 5px;
    overflow: hidden;
    text-align:center;
    margin-right: 18px;
    margin-bottom: 18px;
    cursor: pointer;
    transition: border-color .1s;
    &:before{
      content: '';
      display: inline-block;
      width: 0;
      height: 100%;
      vertical-align: middle;
    }
    img{
      max-width: 100%;
      max-height: 100%;
      vertical-align: middle;
    }
    &:hover{
      border-color: #409EFF;
    }
  }
}
.label-light{
  .el-form-item{
    .el-form-item__label{
      color: #999;
    }
  }
}